package com.shazhu.nongjt.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shazhu.common.annotation.Excel;
import com.shazhu.common.core.domain.BaseEntity;

/**
 * 合格证打印预览记录对象 cert_print_preview
 * 
 * @author shazhu
 * @date 2025-09-29
 */
public class CertPrintPreview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预览记录ID */
    private String id;

    /** 关联打印设置ID */
    @Excel(name = "关联打印设置ID")
    private String settingId;

    /** 关联合格证ID */
    @Excel(name = "关联合格证ID")
    private String certId;

    /** 合格证编号 */
    @Excel(name = "合格证编号")
    private String certCode;

    /** 状态：0=未确认，1=已确认，2=已取消 */
    @Excel(name = "状态：0=未确认，1=已确认，2=已取消")
    private Integer previewStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date previewTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String previewFilePath;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String operator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String clientIp;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setSettingId(String settingId) 
    {
        this.settingId = settingId;
    }

    public String getSettingId() 
    {
        return settingId;
    }

    public void setCertId(String certId) 
    {
        this.certId = certId;
    }

    public String getCertId() 
    {
        return certId;
    }

    public void setCertCode(String certCode) 
    {
        this.certCode = certCode;
    }

    public String getCertCode() 
    {
        return certCode;
    }

    public void setPreviewStatus(Integer previewStatus) 
    {
        this.previewStatus = previewStatus;
    }

    public Integer getPreviewStatus() 
    {
        return previewStatus;
    }

    public void setPreviewTime(Date previewTime) 
    {
        this.previewTime = previewTime;
    }

    public Date getPreviewTime() 
    {
        return previewTime;
    }

    public void setPreviewFilePath(String previewFilePath) 
    {
        this.previewFilePath = previewFilePath;
    }

    public String getPreviewFilePath() 
    {
        return previewFilePath;
    }

    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }

    public void setClientIp(String clientIp) 
    {
        this.clientIp = clientIp;
    }

    public String getClientIp() 
    {
        return clientIp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("settingId", getSettingId())
            .append("certId", getCertId())
            .append("certCode", getCertCode())
            .append("previewStatus", getPreviewStatus())
            .append("previewTime", getPreviewTime())
            .append("previewFilePath", getPreviewFilePath())
            .append("operator", getOperator())
            .append("clientIp", getClientIp())
            .append("remark", getRemark())
            .toString();
    }
}
